on the Problem of Sorting Burnt Pancakes

نویسندگان

  • David S. Cohen
  • Manuel Blum
چکیده

The “pancake problem” is a well-known open combinatorial problem that recently has been shown to have applications to parallel processing. Given a stack of n pancakes in arbitrary order, all of different sizes, the goal is to sort them into the size-ordered configuration having the largest pancake on the bottom and the smallest on top. The allowed sorting operation is a “spatula flip”, in which a spatula is inserted beneath any pancake, and all pancakes above the spatula are lifted and replaced in reverse order. The problem is to boundf(n), the minimum number of flips required in the worst case to sort a stack of n pancakes. Equivalently, we seek bounds on the number of prefix reversals necessary to sort a list of n elements. Bounds of 17n/16 and (5n + 5)/3 were shown by Gates and Papadimitriou in 1979. In this paper, we consider a traditional variation of the problem in which the pancakes are two sided (one side is “burnt”), and must be sorted to the size-ordered configuration in which every pancake has its burnt side down. Let g(n) be the number of flips required to sort n “burnt pancakes”. We find that 3n/2 < g(n) < 2n 2, where the upper bound holds for n > 10. We consider the conjecture that the most difficult case for sorting n burnt pancakes is -I,, the configuration having the pancakes in proper size order, but in which each individual pancake is upside down. We present an algorithm for sorting -I, in 23n/14 f c flips, where c is a small constant, thereby establishing a bound of g(n) < 23n/14 + c under the conjecture. Furthermore, the longstanding upper bound off(n) is also improved to 23n/14 + c under the conjecture.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Pancake Flipping Is Hard

Pancake Flipping is the problem of sorting a stack of pancakes of different sizes (that is, a permutation), when the only allowed operation is to insert a spatula anywhere in the stack and to flip the pancakes above it (that is, to perform a prefix reversal). In the burnt variant, one side of each pancake is marked as burnt, and it is required to finish with all pancakes having the burnt side d...

متن کامل

On average and highest number of flips in pancake sorting

We are given a stack of pancakes of different sizes and the only allowed operation is to take several pancakes from top and flip them. The unburnt version requires the pancakes to be sorted by their sizes at the end, while in the burnt version they additionally need to be oriented burnt-side down. We present an algorithm with the average number of flips, needed to sort a stack of n burnt pancak...

متن کامل

Computing with living hardware

Our multi-institutional team of eleven undergraduates, one high school student, one postdoctoral fellow, and four faculty members explored the emerging field of synthetic biology and presented our results at the 2006 international Genetically Engineered Machine (iGEM) competition. Having had little or no previous research experience, biology, chemistry and mathematics students from four differe...

متن کامل

Polynomial-time sortable stacks of burnt pancakes

Pancake flipping, a famous open problem in computer science, can be formalised as the problem of sorting a permutation of positive integers using as few prefix reversals as possible. In that context, a prefix reversal of length k reverses the order of the first k elements of the permutation. The burnt variant of pancake flipping involves permutations of signed integers, and reversals in that ca...

متن کامل

Fortuitous sequences of flips of the top of a stack of n burnt pancakes for all n>24

Fortuitous sequences of flips of the top of a stack of n burnt pancakes for all n > 24. Summary Burnt pancakes problem was defined by Gates and Papadimitriou in 1979. They proved that g(−f n) ≥ 3n/2 − 1. In 1995 Cohen and Blum conjectured that g(n) = g(−I n) and proved that g(−I n) = g(−f n) + 1 ≥ 3n/2.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Discrete Applied Mathematics

دوره 61  شماره 

صفحات  -

تاریخ انتشار 1995